<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html class=" js csstransforms3d"><head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>约健后台管理系统</title>
	<link rel="stylesheet" href="/yuejian/Public/css/base.css">
	<link rel="stylesheet" href="/yuejian/Public/css/page.css">
	<script type="text/javascript" src="/yuejian/Public/js/jquery.min.js"></script>
	<script type="text/javascript" src="/yuejian/Public/js/modernizr.js"></script>
	<script type="text/javascript" src="/yuejian/Public/js/main.js"></script>

</head>

<body>
<div class="superWrap clearfix" style="height: 781px;">

	<!--side-->
	<div class="super-side-menu" width="205" height="100%" marginheight="0" marginwidth="0" frameborder="0" scrolling="no">
	<div class="super-side-menu">
		<div class="logo"><a href="<?php echo U('Index/count');?>" target="_parent"><img src="/yuejian/Public/images/logo.png"></a></div>
		
		<div class="side-menu">
			<ul>
				<li><a href="<?php echo U('Index/count');?>" target="Mainindex"><i class="ico-5"></i>数据统计</a></li>
				<li class="on"><a href="<?php echo U('Game/gamelist');?>" target="Mainindex"><i class="ico-1"></i>比赛管理</a></li>
				<li><a href="<?php echo U('Training/traininglist');?>" target="Mainindex"><i class="ico-3"></i>培训管理</a></li>
				<li><a href="<?php echo U('Photo/photolist');?>" target="Mainindex"><i class="ico-4"></i>晒图管理</a></li>
				<li><a href="" target="Mainindex"><i class="ico-2"></i>活动管理</a></li>
				<li><a href="<?php echo U('Club/clublist');?>" target="Mainindex"><i class="ico-3"></i>俱乐部管理</a></li>
				<li><a href="<?php echo U('User/userlist');?>" target="Mainindex"><i class="ico-3"></i>用户管理</a></li>
				<li><a href="<?php echo U('Admin/adminlist');?>" target="Mainindex"><i class="ico-3"></i>管理员管理</a></li>
				<li><a href="<?php echo U('Clubadmin/clubadminlist');?>" target="Mainindex"><i class="ico-3"></i>俱乐部管理员管理</a></li>
			</ul>
		</div>
	</div>
	</div>
	<!--side-->

	<!--content-->
	<div class="superContent">
		<!--header-->
		<div class="super-header super-header2" id="Pubheader" name="Pubheader" width="100%"  marginheight="0" marginwidth="0" frameborder="0" scrolling="no">
			<div class="super-header clearfix">
				<h2>约健后台管理系统</h2>
				<div class="head-right">
					<i class="ico-user"></i>当前用户：
					<div class="userslideDown">
						<a href="javascript:;" class="superUser">Admin<i class="ico-tri"></i></a>
						<div class="slidedownBox">
							<ul>
								<li><a href="<?php echo U('home/index/signout');?>" target="_parent">注销</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--header-->


		<div class="superCtab superCtabBot" style="height: 695px; id="Mainindex" name="Mainindex""width="100%" height="100%" marginheight="0" marginwidth="0" frameborder="0">
		
				<div class="superCtab">
			<div class="ctab-title clearfix"><h3>比赛管理</h3><a href="javascript:;" class="sp-column"><i class="ico-mng"></i>栏目管理</a></div>
			
			<div class="ctab-Main">
				<div class="ctab-Main-title">
					<ul class="clearfix">
						<li class="cur"><a href="<?php echo U('Game/gamelist');?>">比赛列表</a></li>
					</ul>
				</div>
				
				<div class="ctab-Mian-cont">
					<div class="Mian-cont-btn clearfix">
						<div class="operateBtn">
							<a href="<?php echo U('Game/addgame');?>" class="greenbtn publish">发布比赛</a>
						</div>
						<div class="searchBar">
							<input type="text" id="" value="" class="form-control srhTxt" placeholder="输入标题关键字搜索">
							<input type="button" class="srhBtn" value="">
						</div>
					</div>

						<!-- 表格 -->
						<div class="Mian-cont-wrap">
							<div class="defaultTab-T">
								<table border="0" cellspacing="0" cellpadding="0" class="defaultTable" name="games" id="vo">
										<tr align="center">
											<th>比赛ID</th>
											<th>比赛名称</th>
											<th>比赛照片</th>
											<th>地址</th>
											<th>操作</th>
										</tr>
										<tbody>
											<?php if(is_array($qrcodeList)): $i = 0; $__LIST__ = $qrcodeList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr align="center">
		 										<td><?php echo ($i); ?></td>
		  										<td><?php echo ($vo["game_name"]); ?></td>
		  										<td><img src="/yuejian/Public/upload/gamepic/<?php echo ($vo["game_picture"]); ?>" width="50" height="50"></td> 
		  										<td><?php echo ($vo["game_address"]); ?></td>
		  										<td>
		  											<div>
														<div class="btn"><a href="/yuejian/Home/Game/editgame/game_id/<?php echo ($vo["game_id"]); ?>" class="modify">修改</a><a href="/yuejian/Home/Game/delete/game_id/<?php echo ($vo["game_id"]); ?>" class="delete">删除</a></div>
													</div>
												</td>
											</tr><?php endforeach; endif; else: echo "" ;endif; ?>
									</tbody>
								</table>
								<!-- <div class="pageSelect">
								<span>共 <b><?php echo ($games); ?></b> 条 每页 <b><?php echo ($link); ?></b>条   1/18</span>
								<div class="pageWrap">
									<a class="pagePre"><i class="ico-pre">&nbsp;</i></a>
									<a href="#" class="pagenumb cur">1</a>
									<a href="#" class="pagenumb">2</a>
									<a href="#" class="pagenumb">3</a>
									<a href="#" class="pagenext"><i class="ico-next">&nbsp;</i></a>
								</div>
								</div> -->
								<div class="pageSelect" align="center" >
					                <nav>
					                    <ul class="ico-pre">
						                    <p><?php echo ($link); ?></p>
						                    <?php echo ($pageNav); ?> 
					                    </ul>
					                </nav>
					            </div>

							</div>				
						</div>
						<!-- 表格 -->


				</div>
			</div>
		</div>
		</div>
		
		


		<!--main-->
		
	</div>
	<!--content-->
</div>

<script>
// window.onresize = function(){
// 	var winH=$(window).height();
// 	var headH=$('.super-header').height();
// 	$('.superWrap').height(winH);
// 	$('.superCtabBot').height(winH-headH);
// };
// $(window).resize();
</script>

</body></html>